package com.company.memento;

/**
 * 备忘录角色
 */
public class Memento {
    //持有游戏状态实例引用
    private GateStatus gateStatus;


    public Memento(GateStatus gateStatus){
        this.gateStatus = gateStatus;
    }

    /**
     * 获取当前游戏状态
     * @return
     */
    public GateStatus getGateStatus() {
        return gateStatus;
    }
}
